import request from '@/utils/request'

// 查询下拉选项
export function getOptions(type) {
  return request({
    url: '/option/' + type,
    method: 'get'
  })
}

// 图片上传
export function uploadImage(data) {
  return request({
    url: '/file/upload',
    method: 'post',
    data: data
  })
}
